package operation;

import book.Book;
import book.BookList;

public class operationScreep implements Ioperation {
    public void work(BookList bookList){
        System.out.println("显示图书");
        int currentSize = bookList.getUsesize();
        for (int i = 0; i < currentSize; i++) {
            Book book = bookList.getbook(i);
            System.out.println(book.toString());

        }

    }
}
